from python基础.应用系统的组织.controller.controllerlayer import getStudents as liststudents
from python基础.应用系统的组织.controller.controllerlayer import addStudents as addstudents

def quereyStudents():
    students = liststudents()
    if students == None:
        print("没有学生")
    else:
        for item in students:
            print(item)

def addStudents():
    inputString = input("信息：")
    items = inputString.split(',')
    name = items[0]
    age = int(items[1])
    sex = items[2]
    addstudents(name,age,sex)

if __name__ == "__main__":
    addStudents()